package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_StockOpe", catalog="Id")
public class TccStockOpe extends BaseEntity<TccStockOpe> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="VGsMc", nameJava="vGsMc", typeDataBase="varchar")
	private String vGsMc;
	@YsField(nameDataBase="VGsJc", nameJava="vGsJc", typeDataBase="varchar")
	private String vGsJc;
	@YsField(nameDataBase="VGsBm", nameJava="vGsBm", typeDataBase="varchar")
	private String vGsBm;
	@YsField(nameDataBase="ProductName", nameJava="productName", typeDataBase="varchar")
	private String productName;
	@YsField(nameDataBase="ProductCode", nameJava="productCode", typeDataBase="varchar")
	private String productCode;
	@YsField(nameDataBase="ProductNum", nameJava="productNum", typeDataBase="int")
	private Integer productNum;
	@YsField(nameDataBase="locationHw", nameJava="locationHw", typeDataBase="varchar")
	private String locationHw;
	@YsField(nameDataBase="locationKq", nameJava="locationKq", typeDataBase="varchar")
	private String locationKq;
	@YsField(nameDataBase="locationArea", nameJava="locationArea", typeDataBase="varchar")
	private String locationArea;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="CreateUser", nameJava="createUser", typeDataBase="varchar")
	private String createUser;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccStockOpe setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TccStockOpe setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TccStockOpe setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public String getVGsMc() {
		return vGsMc;
	}
	public TccStockOpe setVGsMc(String vGsMc) {
		this.vGsMc = vGsMc;
		return this;
	}
	public String getVGsJc() {
		return vGsJc;
	}
	public TccStockOpe setVGsJc(String vGsJc) {
		this.vGsJc = vGsJc;
		return this;
	}
	public String getVGsBm() {
		return vGsBm;
	}
	public TccStockOpe setVGsBm(String vGsBm) {
		this.vGsBm = vGsBm;
		return this;
	}
	public String getProductName() {
		return productName;
	}
	public TccStockOpe setProductName(String productName) {
		this.productName = productName;
		return this;
	}
	public String getProductCode() {
		return productCode;
	}
	public TccStockOpe setProductCode(String productCode) {
		this.productCode = productCode;
		return this;
	}
	public Integer getProductNum() {
		return productNum;
	}
	public TccStockOpe setProductNum(Integer productNum) {
		this.productNum = productNum;
		return this;
	}
	public String getLocationHw() {
		return locationHw;
	}
	public TccStockOpe setLocationHw(String locationHw) {
		this.locationHw = locationHw;
		return this;
	}
	public String getLocationKq() {
		return locationKq;
	}
	public TccStockOpe setLocationKq(String locationKq) {
		this.locationKq = locationKq;
		return this;
	}
	public String getLocationArea() {
		return locationArea;
	}
	public TccStockOpe setLocationArea(String locationArea) {
		this.locationArea = locationArea;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccStockOpe setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public String getCreateUser() {
		return createUser;
	}
	public TccStockOpe setCreateUser(String createUser) {
		this.createUser = createUser;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccStockOpe setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccStockOpe setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccStockOpe setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccStockOpe tccStockOpe(
		String guid,
		String bid,
		String vGsMc,
		String vGsJc,
		String vGsBm,
		String productName,
		String productCode,
		Integer productNum,
		String locationHw,
		String locationKq,
		String locationArea,
		String remark,
		String createUser,
		Integer status
			) {
		TccStockOpe entity = new TccStockOpe();
		entity.setGuid(guid);
		entity.setBid(bid);
		entity.setVGsMc(vGsMc);
		entity.setVGsJc(vGsJc);
		entity.setVGsBm(vGsBm);
		entity.setProductName(productName);
		entity.setProductCode(productCode);
		entity.setProductNum(productNum);
		entity.setLocationHw(locationHw);
		entity.setLocationKq(locationKq);
		entity.setLocationArea(locationArea);
		entity.setRemark(remark);
		entity.setCreateUser(createUser);
		entity.setStatus(status);
		return entity;
	}
}